extends Camera2D

@export var follow: Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	pass # Replace with function body.

func _process(delta: float) -> void:
	global_position = follow.global_position

# func _draw() -> void:
# 	var target_path  = %player_1052.target_path
# 	if target_path and not target_path.is_empty():
# 		for i in range(target_path.size() -1):
# 			draw_line(%player_1052.grid.map_to_local(target_path[i]), %player_1052.grid.map_to_local(target_path[i+1]), Color(1,0,0))
# 	pass
